package com.htgd.gardenexpo.service;

import com.github.pagehelper.PageInfo;
import com.htgd.gardenexpo.dto.GeConCompetitionSportsDTO;
import com.htgd.gardenexpo.entity.CommonResult;
import com.htgd.gardenexpo.entity.GeConCompetitionSports;
import com.htgd.gardenexpo.entity.GeConLeisureSports;
import com.baomidou.mybatisplus.extension.service.IService;
import com.htgd.gardenexpo.page.LeisureSportsQuery;
import com.htgd.gardenexpo.vo.CompetitionSportsNumsVO;
import com.htgd.gardenexpo.vo.GeConCompetitionSportsVO;
import com.htgd.gardenexpo.vo.GeConLeisureSportsVO;
import com.htgd.gardenexpo.vo.LeisureSportsNumsVO;

import javax.servlet.http.HttpServletRequest;
import java.util.List;

/**
 * <p>
 * 休闲运动 服务类
 * </p>
 *
 * @author author
 * @since 2024-09-27
 */
public interface IGeConLeisureSportsService extends IService<GeConLeisureSports> {

    PageInfo<GeConLeisureSportsVO> pageList(LeisureSportsQuery leisureSportsQuery);

    GeConLeisureSportsVO getDetailsById(String id, HttpServletRequest request);

    CommonResult insert(GeConLeisureSports geConLeisureSports);

    CommonResult edit(GeConLeisureSports geConLeisureSports);

    CommonResult delete(String id) throws Exception;

    CommonResult review(GeConLeisureSports geConLeisureSports);

    CommonResult<List<LeisureSportsNumsVO>> getEntryNums(Integer pageNum, Integer pageSize, String startTime, String endTime, String startDate, String endDate, String type, String orderBy);
}